home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / mudlib / sys / functionlist.h < prev    next >
C/C++ Source or Header  |  2001-07-14  |  1KB  |  29 lines

  1. #ifndef LPC_FUNCTIONLIST_H
  2. #define LPC_FUNCTIONLIST_H
  3.  
  4. #include "/sys/lpctypes.h"
  5.  
  6. #define NAME_INHERITED      0x80000000 /* Defined by inheritance         */
  7. #define TYPE_MOD_STATIC     0x40000000 /* Static function or variable    */
  8. #define TYPE_MOD_NO_MASK    0x20000000 /* The nomask => not redefineable */
  9. #define TYPE_MOD_PRIVATE    0x10000000 /* Can't be inherited             */
  10. #define TYPE_MOD_PUBLIC     0x08000000 /* Force inherit through private  */
  11. #define TYPE_MOD_VARARGS    0x04000000 /* Used for type checking         */
  12. #define TYPE_MOD_VIRTUAL    0x02000000  /* can be re- and cross- defined  */
  13. #define TYPE_MOD_PROTECTED  0x01000000 /* cannot be called externally    */
  14. #define TYPE_MOD_XVARARGS   0x00800000  /* accepts optional arguments     */
  15. #define TYPE_MOD_NOSAVE     0x00400000  /* vars: can't be saved           */
  16. #define NAME_CROSS_DEFINED  0x00080000 /* function defined from other program */
  17. #define NAME_HIDDEN         0x00000800 /* Not visible for inheritance    */
  18. #define NAME_PROTOTYPE      0x00000400 /* Defined by a prototype only    */
  19. #define NAME_UNDEFINED      0x00000200 /* Not defined yet                */
  20. #define NAME_TYPES_LOST     0x00000100 /* inherited, no save_types       */
  21.  
  22. #define RETURN_FUNCTION_NAME    0x01
  23. #define RETURN_FUNCTION_FLAGS    0x02
  24. #define RETURN_FUNCTION_TYPE    0x04
  25. #define RETURN_FUNCTION_NUMARG    0x08
  26. #define RETURN_FUNCTION_ARGTYPE 0x10 /* not implemented */
  27.  
  28. #endif /* LPC_FUNCTIONLIST_H */
  29.